import request from '@/util/request'

// 学生查询
export const getStudentAPI = (params) => {
  return request.get('/admin/student', { params })
}

// 学生添加
export const addStudentAPI = (data) => {
  return request.post('/admin/student', data)
}

// 学生更新
export const updateStudentAPI = (data) => {
  return request.put('/admin/student', data)
}

// 学生删除
export const deleteStudentAPI = (params) => {
  return request.delete('/admin/student', { params })
}
